 //
//  UIBarButtonItem+MyItem.h
//  jiajiao
//
//  Created by 张艳江 on 17/1/20.
//  Copyright © 2017年 张艳江. All rights reserved.
//

#import <UIKit/UIKit.h>

@interface UIBarButtonItem (MyItem)

// 快速创建一个显示图片的item
+ (UIBarButtonItem *)barButtonItemWithImage:(UIImage *)image target:(id)target action:(SEL)action;

+ (UIBarButtonItem *)itemWithButtonFrame:(CGRect)frame title:(NSString *)title color:(UIColor *)color font:(UIFont *)font target:(id)target action:(SEL)action;


@end
